﻿<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="QuizResults.aspx.cs" Inherits="GiveAQuizSite.Reports.QuizResults" %>
<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=10.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
  Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
<html>
<head></head>
<body>
    <form id="form1" runat="server">
    <div>
    <asp:ScriptManager ID="scriptMgr" runat="server" />
      <rsweb:ReportViewer ID="ReportViewer1" runat="server" Font-Names="Verdana" 
        Font-Size="8pt" InteractiveDeviceInfos="(Collection)" 
        WaitMessageFont-Names="Verdana" WaitMessageFont-Size="14pt" Width="600px" Height="600px">
        <LocalReport ReportPath="Reports\QuizResultsReport.rdlc" EnableHyperlinks="true">
          <DataSources>
            <rsweb:ReportDataSource DataSourceId="ObjectDataSource1" 
              Name="QuizResultsDataSet" />
            <rsweb:ReportDataSource DataSourceId="ObjectDataSource2" 
              Name="QuizTakerDataSet" />
          </DataSources>
        </LocalReport>
      </rsweb:ReportViewer>
      <asp:ObjectDataSource ID="ObjectDataSource1" runat="server" 
        OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" 
        
        TypeName="GiveAQuizSite.Reports.QuizResultsDataSetTableAdapters.QuizTakersTableAdapter">
        <SelectParameters>
          <asp:QueryStringParameter DefaultValue="" Name="QuizId" 
            QueryStringField="quizId" Type="Int32" />
        </SelectParameters>
      </asp:ObjectDataSource>
      <asp:ObjectDataSource ID="ObjectDataSource2" runat="server" 
        OldValuesParameterFormatString="original_{0}" SelectMethod="GetData" 
        
        TypeName="GiveAQuizSite.Reports.QuizResultsDataSetTableAdapters.QuizzesTableAdapter">
        <SelectParameters>
          <asp:QueryStringParameter DefaultValue="" Name="QuizId" 
            QueryStringField="quizId" Type="Int32" />
        </SelectParameters>
      </asp:ObjectDataSource>
    </div>
    </form>
</body>
</html>
